package com.xmmj.common.room.entity

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * 历史记录的实体类
 */
@Entity(tableName = "record")
data class RecordBean(
    @PrimaryKey
    @ColumnInfo(name = "city")
    var city: String,

    @ColumnInfo(name = "adCode")
    var adCode: String,

    @ColumnInfo(name = "cityCode")
    var cityCode: String,

    @ColumnInfo(name = "latitude")
    var latitude: Double,

    @ColumnInfo(name = "longitude")
    var longitude: Double
)
